@import '~@/assets/scss/function';

.home-loan-container {
  padding: 30px 32px 30px;
  background: url('~@/assets/imgs/top-bg.png') no-repeat;
  background-size: contain;
  min-height: 100vh;
  box-sizing: border-box;
  .notice-container {
    width: 100%;
    // margin-left: -32px;
    height: 44px;
    .van-notice-bar {
      height: 44px;
      margin: 0 !important;
      padding: 0;
    }
    img.notice {
      width: 40px;
    }
  }
  .app-text {
    margin-top: 62px;
    font-weight: bold;
    .app-name {
      font-size: 40px;
      line-height: 40px;
      color: #C43130;
    }
    .app-name-desc {
      margin-top: 16px;
      color: #EC5958;
      font-size: 28px;
      line-height: 33px;
    }
  }
  .top-container {
    padding: 48px;
    color: #666;
    text-align: center;
    position: relative;
    background: linear-gradient( 180deg, #FFFFFF 0%, #FFF9DF 100%);
    margin: 40px 0 0;
    border-radius: 32px;
    .top-box ,.loan-length{
      font-size: 32px;
      font-weight: 400;
      color: #666666;
    }
    .product-num {
      font-size: 72px;
      line-height: 84px;
      color: #222;
      font-weight: bold;
      text-align: center;
      margin-top: 36px;
    }

    .custom-slider {
      margin-top: 50px;
      margin-bottom: 70px;
    }
    .custom-button {
      width: 44px;
      height: 44px;
      background: #FFF;
      border-radius: 50%;
      border: 8px solid #EC5958;
    }
    .loan-days {
      display: flex;
      list-style: none;
      align-items: center;
      justify-content: space-between;
      margin-top: 32px;
      padding: 0 30px;
      & > li {
        width: 240px;
        height: 76px;
        line-height: 76px;
        box-sizing: border-box;
        text-align: center;
        border: 4px solid #999;
        color: #999;
        font-size: 32px;
        font-weight: bold;
        border-radius: 16px;
        margin-right: 48px;
        &:last-child {
          margin-right: 0;
        }
        &.active {
          border: 4px solid #EC5958;
          color: #EC5958;
        }
      }
    }
    .product-button {
      margin: 64px auto 0;
      text-indent: 100px;
      border-radius: 32px;
      width: 590px;
      & > div {
        position: relative;
        &::after {
          content: '';
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          left: 78px;
          width: 64px;
          height: 64px;
          background: url("~@/assets/imgs/gold.png");
          background-size: 100% 100%;
          z-index: 1;
        }
      }
    }
  }
  .home-bottom {
    width: 100%;
    margin-top: 64px;
  }
}





